package com.hgxd.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 电表品牌表
 * </p>
 *
 * @author fsd
 * @since 2023-10-18
 */
@Getter
@Setter
@TableName("rb_electricity_brand")
@ApiModel(value = "ElectricityBrand对象", description = "电表品牌表")
public class ElectricityBrand implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("品牌id")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("品牌名称")
    private String name;

    @ApiModelProperty("名称缩写")
    private String pyName;

    @ApiModelProperty("等级")
    private String level;

    @ApiModelProperty("父级id")
    private Integer parentId;

    @ApiModelProperty("父级名称")
    private String parentName;


}
